package com.wandian.news.bean;

import java.util.List;

/**
 * @Author: cl
 * @CreateDate: 2020/12/7 11:54
 * @UpdateRemark:
 */
public class KnowledgeLZMYBean {

    /**
     * msg : success
     * code : 200
     * newslist : [{"transl":"做任何事情，开始一定要认真地做好，如果做差了一丝一毫，结果会发现相差很远。","saying":"差之毫厘，谬以千里。","source":"宋·陆九渊"}]
     */
    private String msg;
    private int code;
    private List<NewslistEntity> newslist;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setNewslist(List<NewslistEntity> newslist) {
        this.newslist = newslist;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<NewslistEntity> getNewslist() {
        return newslist;
    }

    public class NewslistEntity {
        /**
         * transl : 做任何事情，开始一定要认真地做好，如果做差了一丝一毫，结果会发现相差很远。
         * saying : 差之毫厘，谬以千里。
         * source : 宋·陆九渊
         */
        private String transl;
        private String saying;
        private String source;

        public void setTransl(String transl) {
            this.transl = transl;
        }

        public void setSaying(String saying) {
            this.saying = saying;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getTransl() {
            return transl;
        }

        public String getSaying() {
            return saying;
        }

        public String getSource() {
            return source;
        }
    }
}
